set(QT_USE_QTTEST true)
set(YOOHOO_TEST_DIR_ROOT extensions/xep/test)

# Where to find header files of xep modules
set(YOOHOO_XEP_INCLUDE_DIR ${PROJECT_SOURCE_DIR}/extensions/xep/include)
include_directories(${YOOHOO_XEP_INCLUDE_DIR})

foreach(module ${YOOHOO_XEP_MODULES})
	if(IS_DIRECTORY ${PROJECT_SOURCE_DIR}/extensions/xep/test/src/${module})
		add_subdirectory(${module})
	endif(IS_DIRECTORY ${PROJECT_SOURCE_DIR}/extensions/xep/test/src/${module})
endforeach(module ${YOOHOO_XEP_MODULES})
